Websydian v6.1 online documentationOnline documentation - Websydian v6.5

Problem - PagegeneratorWithSignature does not work with server-side scripting

Severity Low
Product Websydian
Websydian version 5.7, 6.0
Resolved in v6.1
Plex version All
Platform Windows
Category Server-side scripting
Problem When creating a server-side scripting PageGenerator the generated events on the page does not work.
Answer When using server-side scripting and PageGeneratorWithSignature the signatures will not be generated and the application will fail when a user activates an event on the HTML page.
Workaround Insert the following code in your abstract PageGenerator functions:
Post Point 0 After read of new string
+++Undefine Field: WSYBASE/+ScriptGeneration
Pre Point End build document
Call WSYBASE/Meta.CheckForScriptTemplateGeneration
Post Point 0 After read of new string for grid
+++Undefine Field: WSYBASE/+ScriptGeneration
Pre Point 0 After loop in grid
Call WSYBASE/Meta.CheckForScriptTemplateGeneration